#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main() {
	int a = 3;
	//11;
	int b = 3 ^ (-1);
	int count = 0;
	for (int i = 0; i < 32; i++) {
		if (a & 1) {
			count++;
		}
		a=a >> 1;
	}
	printf("%d", b);

	return 0;
}